package com.tmall.testgen.client.genfile.genjava.bo.classpathentry;

import java.util.ArrayList;
import java.util.List;

import org.eclipse.jdt.core.IClasspathEntry;

public class ClassPathEntry {

    private String kind;
    private String path;
    private String sourcepath;
    private List<Attribute> attributes=new ArrayList<Attribute>();
    
    public String getKind() {
        return kind;
    }
    public void setKind(int kindNum) {
        if(kindNum==IClasspathEntry.CPE_CONTAINER)
            kind="con";
        if(kindNum==IClasspathEntry.CPE_LIBRARY)
            kind="lib";
        if(kindNum==IClasspathEntry.CPE_PROJECT)
            kind="pro";
        if(kindNum==IClasspathEntry.CPE_SOURCE)
            kind="src";
        if(kindNum==IClasspathEntry.CPE_VARIABLE)
            kind="var";
    }
    public String getPath() {
        return path;
    }
    public void setPath(String path) {
        this.path = path;
    }
    public String getSourcepath() {
        return sourcepath;
    }
    public void setSourcepath(String sourcepath) {
        this.sourcepath = sourcepath;
    }
    public List<Attribute> getAttributes() {
        return attributes;
    }
    public void setAttributes(List<Attribute> attributes) {
        this.attributes = attributes;
    }
    
    
}
